package cn.agiledata.bank.transaction.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

/**
 * 提现Form
 * 
 * @author maxianbo
 * 
 */
public class DrawForm extends MultiStepForm {
    private String actionType;

    private long subAccountId;

    private String amount;

    private String purpose;

    private String remark;

    private String password;

    public DrawForm() {
        super();
        this.actionType = "";
        this.subAccountId = 0;
        this.amount = "";
        this.purpose = "";
        this.remark = "";
        this.password = "";
    }

    public String getActionType() {
        return this.actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getAmount() {
        return this.amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getPurpose() {
        return this.purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getSubAccountId() {
        return this.subAccountId;
    }

    public void setSubAccountId(long subAccountId) {
        this.subAccountId = subAccountId;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
        if (isResetable()) {
            this.actionType = "";
            this.subAccountId = 0;
            this.amount = "";
            this.purpose = "";
            this.remark = "";
            this.password = "";
        }
    }
}
